home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 7_4.lha / 7_4 / makefile < prev    next >
Makefile  |  1993-08-08  |  389b  |  26 lines

  1. C= CC -I. -I../shape -I../../CC
  2. FLAGS= +i -g
  3. HP= ../shape
  4.  
  5. ll: tst
  6.  
  7. BJ= 7_4a.o main.o $(SHP)/shape.a
  8.  
  9. st: $(OBJ) $(SHP)/shape.a
  10. $(CC) $(OBJ) -o tst $(SHP)/shape.a
  11.  
  12. _4a.o: 7_4a.c $(SHP)/shape.h
  13. $(CC) $(CFLAGS) -c 7_4a.c
  14.  
  15. ain.o: main.c $(SHP)/shape.h
  16. $(CC) $(CFLAGS) -c main.c
  17.  
  18. MP= tst.cmp
  19. UT= tst.out
  20.  
  21. st.out: tst ;    tst > tst.out
  22.  
  23. est: all $(CMP) $(OUT)
  24. cmp tst.out tst.cmp
  25. @echo test done
  26.